package Persistant.Dao;

import java.util.List;

import model.TForumcontent;
import model.VForumContent;

public interface ForumContentDAO {
	public int produceValidSortId(int forumid);
	public int addContent(TForumcontent fcontent);
	public boolean deleteContent(int id);
	public boolean deleteContentsBelongForum(int forumid);
	public boolean updateForumContent(TForumcontent fcontent);
	public VForumContent getContentById(int id);
	public TForumcontent  getTContentById(int id);
	public List<VForumContent> getContentListByForumId(int forumid);
	
}
